#!/usr/bin/env python
# _*_ coding: utf-8 _*_
# @Time : 2021/8/6 11:36 下午
# @Author : daiyizheng
# @Version：V 0.1
# @File : run.py
# @desc :

import rasa
import logging

logging.basicConfig(level = logging.DEBUG, format='[%(levelname)s %(asctime)s %(filename)s:%(lineno)d] %(message)s')


rasa.run(
    model="models",
    endpoints="endpoints.yml",
    credentials="credentials.yml",
    cors="*",
    enable_api=True
)
